import instance from "./instance";

//登录
export const loginApi = (username, password) => {
    return instance({
        url: '/login',
        method: 'POST',
        data: {
            username,
            password
        }
    });
}